function setRefParams4From(meta, FromID, data){
    meta[FromID].items.forEach((one)=>{
        data[one.attrcode] && (one.queryCondition = data[one.attrcode]);
    })
}
/**
 * 设置表体参照过滤条件
 * @param {*} meta 
 * @param {*} tableID 
 * @param {*} data 
 */
function setRefParams4Table(meta, tableID, data){
    meta[tableID].items.forEach((one)=>{
        data[one.attrcode] && (one.queryCondition = data[one.attrcode]);
    })
}
export {setRefParams4From, setRefParams4Table}